.class Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;
.super Landroid/animation/AnimatorListenerAdapter;
.source "FloatingActionMenu.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;->scaleItemView(Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;F)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;

.field final synthetic val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;


# direct methods
.method constructor <init>(Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;)V
    .registers 3
    .param p1, "this$0"    # Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;

    .prologue
    .line 482
    iput-object p1, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->this$0:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;

    iput-object p2, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
    .registers 4
    .param p1, "animation"    # Landroid/animation/Animator;

    .prologue
    .line 505
    iget-object v0, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v0, v0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 506
    return-void
.end method

.method public onAnimationStart(Landroid/animation/Animator;)V
    .registers 13
    .param p1, "animation"    # Landroid/animation/Animator;

    .prologue
    const/4 v10, -0x2

    const/4 v9, 0x0

    .line 486
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    invoke-virtual {v6, v9, v9}, Landroid/view/View;->measure(II)V

    .line 487
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    const/4 v7, 0x0

    invoke-virtual {v6, v7}, Landroid/view/View;->setAlpha(F)V

    .line 489
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    invoke-virtual {v6}, Landroid/view/View;->getMeasuredWidth()I

    move-result v4

    .line 490
    .local v4, "mW":I
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    invoke-virtual {v6}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    .line 491
    .local v3, "mH":I
    const/4 v6, 0x1

    const/high16 v7, 0x41200000

    iget-object v8, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v8, v8, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    invoke-virtual {v8}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    invoke-virtual {v8}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v8

    invoke-static {v6, v7, v8}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v6

    float-to-int v1, v6

    .line 493
    .local v1, "dp_5":I
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->width:I

    sub-int v6, v4, v6

    div-int/lit8 v0, v6, 0x2

    .line 495
    .local v0, "deltaX":I
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v6, v6, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->view:Landroid/view/View;

    invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    check-cast v2, Landroid/widget/FrameLayout$LayoutParams;

    .line 497
    .local v2, "itemParams":Landroid/widget/FrameLayout$LayoutParams;
    new-instance v5, Landroid/widget/FrameLayout$LayoutParams;

    const/16 v6, 0x33

    invoke-direct {v5, v10, v10, v6}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    .line 499
    .local v5, "params":Landroid/widget/FrameLayout$LayoutParams;
    iget v6, v2, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    sub-int/2addr v6, v0

    iget v7, v2, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    sub-int/2addr v7, v3

    invoke-virtual {v5, v6, v7, v9, v9}, Landroid/widget/FrameLayout$LayoutParams;->setMargins(IIII)V

    .line 500
    iget-object v6, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->this$0:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;

    # getter for: Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;->mainActionView:Landroid/view/View;
    invoke-static {v6}, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;->access$000(Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu;)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/view/ViewGroup;

    iget-object v7, p0, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$5;->val$item:Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;

    iget-object v7, v7, Lcom/zuimeia/ui/floatingactionmenu/FloatingActionMenu$Item;->titleView:Landroid/view/View;

    invoke-virtual {v6, v7, v5}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 501
    return-void
.end method
